package com.alibaba.citrus.ots.sales.plan.api.setting.contract;

import com.alibaba.citrus.ots.sales.plan.dto.api.request.contract.CompanyContractImportRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.contract.ContractImportRequest;
import com.alibaba.citrus.ots.sales.plan.sdo.ContractSDO;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import java.util.List;

/**
 * @author luyi
 * @date 2021/11/1 4:30 下午
 */
@MeshFlowService(apps = {"bc_ots"}, name = "contractImportService")
public interface ContractFileService {

    /**
     * 客户合同量导入
     * @param requestList
     * @return
     */
    Result<List<ContractImportRequest>> customerImportHandle(List<ContractImportRequest> requestList);

    /**
     * 公司合同量导入
     * @param requestList
     * @return
     */
    Result<List<CompanyContractImportRequest>> companyImportHandle(List<CompanyContractImportRequest> requestList);


}
